Universal Access To All Knowledge
Home Donate | Store | Blog | FAQ | Jobs | Volunteer Positions | Contact | Bios | Forums | Projects | Terms, Privacy, & Copyright
Search: Advanced Search
Anonymous User (login or join us)
Upload

Reply to this post | Go Back
View Post [edit]

Poster: ppaul129 Date: Apr 1, 2011 6:17am
Forum: etree Subject: LMA API - How can I get Number of shows for a band?

I have been trying to get the number of shows for each band in the archive, but cannot find a parameter that lets me access it. Does anyone know what it would be? They are listing it here: http://www.archive.org/browse.php?collection=etree&;field=%2Fmetadata%2Fcreator

So it must exist. I would appreciate any help you could provide.

thanks,
Pete

Reply to this post
Reply [edit]

Poster: Administrator, Curator, or Staffgreenone Date: Apr 1, 2011 10:27am
Forum: etree Subject: Re: LMA API - How can I get Number of shows for a band?

I don't know what the parameter is, but maybe you can find it via this page:

http://www.archive.org/help/json.php

Reply to this post
Reply [edit]

Poster: ppaul129 Date: Apr 1, 2011 10:34am
Forum: etree Subject: Re: LMA API - How can I get Number of shows for a band?

Yeah, I tried that. I cannot find the show count in any of the api documentation.

thanks for the reply,
pete

Reply to this post
Reply [edit]

Poster: pchulo58 Date: Apr 3, 2011 11:26am
Forum: etree Subject: Re: LMA API - How can I get Number of shows for a band?

Click on the link that says browse all artists with shows in the archive. There's a number next to the artist.

Reply to this post
Reply [edit]

Poster: ppaul129 Date: Apr 3, 2011 6:50pm
Forum: etree Subject: Re: LMA API - How can I get Number of shows for a band?

I know that I can see the number of shows, but I am looking for the parameter to pass that will return the number of shows back in the json.

Not sure it exists??

Reply to this post
Reply [edit]

Poster: xtifr Date: Apr 6, 2011 7:42pm
Forum: etree Subject: Re: LMA API - How can I get Number of shows for a band?

I don't think you can ask for just the number of items in a collection. That's a property of the database, not an item in the database, if you see what I mean.

You can, however, ask it for a single item, and the response will include the total number. For example, if I send the query below, I get back a result that includes: "response":{"numFound":1100

Sample query: http://www.archive.org/advancedsearch.php?q=collection%3A%28Radiators%29&;fl[]=identifier&sort[]=&sort[]=&sort[]=&rows=1&page=1&output=json&callback=callback

Anyway, that's the approach I've been using. If you find another way, please let me know. :)

Terms of Use (10 Mar 2001)